<%-- 
    Document   : testRating
    Created on : 15/11/2012, 10:02:01 PM
    Author     : froy
--%><%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <!--<script type="text/javascript" src="/programacionexpress/rs/js/star-rating/jquery.MetaData.js"></script>-->
        <!--<script type="text/javascript" src="/programacionexpress/rs/js/star-rating/jquery.form.js"></script>-->
        <script type="text/javascript" src="/programacionexpress/rs/js/star-rating/jquery.js"></script>
        <!--<script type="text/javascript" src="/programacionexpress/rs/js/star-rating/jquery.rating.js"></script>-->
        <script type="text/javascript" src="/programacionexpress/rs/js/star-rating/jquery.rating.pack.js"></script>
        <link rel="stylesheet" href="/programacionexpress/rs/css/star-rating/jquery.rating.css" type="text/css" />
        <title>JSP Page</title>
    </head>
    <body>
        <input name="star1" type="radio" class="star" value="1"/>
        <input name="star1" type="radio" class="star" value="2"/>
        <input name="star1" type="radio" class="star" value="3"/>
        <input name="star1" type="radio" class="star" value="4"/>
        <input name="star1" type="radio" class="star" value="5"/>
    </body>
</html>
<script type="text/javascript">
    $('.star').rating({
        callback: function(value, link) {
            alert(value, link);
        }
    });
</script>